home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / PASSDK30.ZIP;1 / DISK1.ZIP / PAS / PCM / PLAYTEXT.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-02-26  |  4.7 KB  |  186 lines

  1. /*$Author:   DCODY  $*/
  2. /*$Date:   26 Feb 1993 11:16:02  $*/
  3. /*$Header:   X:/sccs/pcmapps/playtext.h_v   1.6   26 Feb 1993 11:16:02   DCODY  $*/
  4. /*$Log:   X:/sccs/pcmapps/playtext.h_v  $
  5.  * 
  6.  *    Rev 1.6   26 Feb 1993 11:16:02   DCODY
  7.  * incremented the version. Added one text message for .VOC mem alloc
  8.  * 
  9.  *    Rev 1.5   26 Jan 1993 17:34:02   BCRANE
  10.  * version .08 from .04
  11.  * 
  12.  *    Rev 1.4   26 Jan 1993 16:13:00   BCRANE
  13.  * added "use 'play.exe' in 'can't play compressed files' message
  14.  * 
  15.  *    Rev 1.3   26 Jan 1993 15:58:18   BCRANE
  16.  * added message if WaveInfo.formatTag not 1
  17.  * 
  18.  *    Rev 1.2   10 Nov 1992 11:10:56   BCRANE
  19.  * added "/CDPC" to "Spectrum"
  20.  * 
  21.  *    Rev 1.1   06 Oct 1992 15:20:06   DCODY
  22.  * new version...
  23.  * 
  24.  *    Rev 1.0   14 Sep 1992 17:25:08   SHAO_M
  25.  * Initial revision.
  26. */
  27. /*$Logfile:   X:/sccs/pcmapps/playtext.h_v  $*/
  28. /*$Modtimes$*/
  29. /*$Revision:   1.6  $*/
  30. /*$Workfile:   playtext.h  $*/
  31.  
  32.     /*\
  33.     |*|----====< PLAYTEXT.H >====----
  34.     |*|
  35.     |*| Playback 8/16 bit PCM to disk in .WAV format
  36.     |*|
  37.     |*| Copyright (c) 1992, Media Vision, Inc. All rights reserved.
  38.     |*|
  39.     \*/
  40.  
  41. #define TXT_MSG1    "\aCannot setup the PCM software!\n"
  42. #define TXT_MSG2    "Type ESC to stop playing, SPACE to pause playback.\n\n"
  43. #define TXT_MSG3    "pcm playback paused..."
  44. #define TXT_MSG4    "resumed\n"
  45. #define TXT_MSG5    "pcm output paused..."
  46. #define TXT_MSG6    "resumed\n"
  47. #define TXT_MSG7    "   To Use: DOS>PLAYFILE [FILE.xxx] [16] [Dx] [Ix] [Fx] [Rxxxx] [S] [Sxxx]\n\n"
  48. #define TXT_MSG8    "   Where:  [FILE.WAV] is the .WAV file to be played.\n"
  49. #define TXT_MSG9    "           [FILE.VOC] is the .VOC file to be played.\n"
  50. #define TXT_MSG10    "           [16]       Play 16 bit PCM.\n"
  51. #define TXT_MSG11    "           [Dx]       sets the DMA channel # (1-7).\n"
  52. #define TXT_MSG12    "           [Ix]       sets the IRQ channel # (3,5,7).\n"
  53. #define TXT_MSG13    "           [Fx]       sets the filter (1-6)\n"
  54. #define TXT_MSG14    "           [M]        turns on maximum memory useage.\n"
  55. #define TXT_MSG15    "           [Rxxxxx]   a new sample rate speed.(6000 to 44100)\n"
  56. #define TXT_MSG16    "           [S]        playback in stereo.\n"
  57. #define TXT_MSG17    "           [Sxxx]     changes the playback speed by xxx percent (0 to 200)\n\n"
  58. #define TXT_MSG18    "   To Use: DOS>PLAYFILE [FILE.xxx] [Ix] [Rxxxx] [S] [Sxxx]\n\n"
  59. #define TXT_MSG19    "   Where:  [FILE.WAV] is the .WAV file to be played.\n"
  60. #define TXT_MSG20    "           [FILE.VOC] is the .VOC file to be played.\n"
  61. #define TXT_MSG21    "           [Dx]       sets the DMA channel # (0,1 or 3).\n"
  62. #define TXT_MSG22    "           [Ix]       sets the IRQ channel # (2,3,5,7,10,11,12 or 15).\n"
  63. #define TXT_MSG23    "           [Ix]       sets the IRQ channel # (2,3,5,7).\n"
  64. #define TXT_MSG24    "           [Rxxxxx]   a new sample rate speed.(6000 to 22050)\n"
  65. #define TXT_MSG25    "           [S]        playback in stereo.\n"
  66. #define TXT_MSG26    "           [Sxxx]     changes the playback speed by xxx percent (0 to 200)\n\n"
  67. #define TXT_MSG27    "Illegal .VOC data block encountered!\n"
  68. #define TXT_MSG28    "\aBad File Name, \"%s\" Try Again!\n"
  69. #define TXT_MSG29    "\aUnexpected EOF on input from .VOC File\n"
  70. #define TXT_MSG30    "\aInvalid header in .VOC File\n"
  71. #define TXT_MSG31    "\aUnknown header in the .WAV file! (should be 'WAVE')\n"
  72. #define TXT_MSG32    "\aUnknown header in the .WAV file! (should be 'fmt ')\n"
  73. #define TXT_MSG33    "\aUnknown header in the .WAV file! (should be 'data')\n"
  74. #define TXT_MSG34    "Enter the sample rate: "
  75. #define TXT_MSG35    "Enter 1 for mono, 2 for stereo :"
  76. #define TXT_MSG36    "\aUnknown sample rate (rate = %d)\n"
  77. #define TXT_MSG37    "\nSpectrum/CDPC Sound PCM playback, version 2.09\n\n"
  78. #define TXT_MSG38    "\nBoom Board PCM playback, version 2.09\n\n"
  79. #define TXT_MSG39    "\nPro AudioSpectrum/CDPC PCM playback, version 2.09\n"
  80. #define TXT_MSG40    "\nThunder&Lightning PCM playback, version 2.09\n"
  81. #define TXT_MSG41    "\nThunder Board PCM playback, version 2.09\n"
  82. #define TXT_MSG42    "Copyright (c) 1991,1992 Media Vision, Inc. All Rights Reserved\n\n"
  83. #define TXT_MSG43    "\aA Spectrum/CDPC Sound card is not installed!\n\n"
  84. #define TXT_MSG44    "\aA Pro AudioSpectrum/CDPC card is not installed!\n\n"
  85. #define TXT_MSG45    "\aA Boom Board audio card is not installed!\n\n"
  86. #define TXT_MSG46    "\aA Thunder&Lightning audio card is not installed!\n\n"
  87. #define TXT_MSG47    "\aA Thunder Board audio card is not installed!\n\n"
  88. #define TXT_MSG48    "\nSorry, can not process compressed .wav files.  Use 'play.exe'.\n"
  89. #define TXT_MSG49    "Cannot allocate the .VOC buffer!\n"
  90.             
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.